package com.tentact.vo;

public class Meeting {
    //属性
    private int meetingid;
    private String meetingname;
    private int roomid;
    private int reservationistid;
    private int numofparticipants;
    private String begintime;
    private String endtime;
    private String reservationtime;
    private String canceledtime;
    private int meetingstatus;
    private String description;
    private MeetingRoom meetingRoom;
    private Employee employee;
    private MeetingParticipants meetingParticipants;

    public Meeting(String meetingname, String begintime, String endtime, MeetingRoom meetingRoom, Employee employee) {
        this.meetingname = meetingname;
        this.begintime = begintime;
        this.endtime = endtime;
        this.meetingRoom = meetingRoom;
        this.employee = employee;
    }

    //get/set方法

    public MeetingParticipants getMeetingParticipants() {
        return meetingParticipants;
    }

    public void setMeetingParticipants(MeetingParticipants meetingParticipants) {
        this.meetingParticipants = meetingParticipants;
    }

    public Employee getEmployee() {
        return employee;
    }

    public void setEmployee(Employee employee) {
        this.employee = employee;
    }

    public int getMeetingid() {
        return meetingid;
    }

    public void setMeetingid(int meetingid) {
        this.meetingid = meetingid;
    }

    public String getMeetingname() {
        return meetingname;
    }

    public void setMeetingname(String meetingname) {
        this.meetingname = meetingname;
    }

    public int getRoomid() {
        return roomid;
    }

    public void setRoomid(int roomid) {
        this.roomid = roomid;
    }

    public int getReservationistid() {
        return reservationistid;
    }

    public void setReservationistid(int reservationistid) {
        this.reservationistid = reservationistid;
    }

    public int getNumofparticipants() {
        return numofparticipants;
    }

    public void setNumofparticipants(int numofparticipants) {
        this.numofparticipants = numofparticipants;
    }

    public String getBegintime() {
        return begintime;
    }

    public void setBegintime(String begintime) {
        this.begintime = begintime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    public String getReservationtime() {
        return reservationtime;
    }

    public void setReservationtime(String reservationtime) {
        this.reservationtime = reservationtime;
    }

    public String getCanceledtime() {
        return canceledtime;
    }

    public void setCanceledtime(String canceledtime) {
        this.canceledtime = canceledtime;
    }

    public int getMeetingstatus() {
        return meetingstatus;
    }

    public void setMeetingstatus(int meetingstatus) {
        this.meetingstatus = meetingstatus;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public MeetingRoom getMeetingRoom() {
        return meetingRoom;
    }

    public void setMeetingRoom(MeetingRoom meetingRoom) {
        this.meetingRoom = meetingRoom;
    }
    //构造方法


    //个人中心会议构造方法
    public Meeting(String meetingname, int numofparticipants, String begintime, String endtime, String description, MeetingRoom meetingRoom) {
        this.meetingname = meetingname;
        this.numofparticipants = numofparticipants;
        this.begintime = begintime;
        this.endtime = endtime;
        this.description = description;
        this.meetingRoom = meetingRoom;
    }

    //我的会议
    public Meeting(String meetingname, int numofparticipants, String begintime, String endtime, String description, MeetingRoom meetingRoom, Employee employee) {
        this.meetingname = meetingname;
        this.numofparticipants = numofparticipants;
        this.begintime = begintime;
        this.endtime = endtime;
        this.description = description;
        this.meetingRoom = meetingRoom;
        this.employee = employee;
    }

    public Meeting(String meetingname, int numofparticipants, String begintime, String endtime, String description, MeetingRoom meetingRoom, String reservationtime) {
        this.meetingname = meetingname;
        this.numofparticipants = numofparticipants;
        this.begintime = begintime;
        this.endtime = endtime;
        this.description = description;
        this.meetingRoom = meetingRoom;
        this.reservationtime = reservationtime;
    }

    //我的预定
    public Meeting(String meetingname, int numofparticipants, String begintime, String endtime, String description) {
        this.meetingname = meetingname;
        this.numofparticipants = numofparticipants;
        this.begintime = begintime;
        this.endtime = endtime;
        this.description = description;
    }
    public Meeting(int meetingstatus, String meetingname) {
        this.meetingstatus=meetingstatus;
        this.meetingname=meetingname;
    }

    public Meeting() {
    }
}
